package com.czj.model;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class Card implements Serializable {
    @ApiModelProperty(value = "身份证表id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "身份证号")
    private String card;

    @ApiModelProperty(value = "身份证照片前面")
    private String cardpicfront;

    @ApiModelProperty(value = "身份证照片后面")
    private String cardpicbehind;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getCardpicfront() {
        return cardpicfront;
    }

    public void setCardpicfront(String cardpicfront) {
        this.cardpicfront = cardpicfront;
    }

    public String getCardpicbehind() {
        return cardpicbehind;
    }

    public void setCardpicbehind(String cardpicbehind) {
        this.cardpicbehind = cardpicbehind;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", card=").append(card);
        sb.append(", cardpicfront=").append(cardpicfront);
        sb.append(", cardpicbehind=").append(cardpicbehind);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}